@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

.tinytxt {
  font-size: 12px;
  color: #999999;
}
// main-container global css
.app-container {
  padding: 10px;
}

@media screen and (max-width: 500px) {
  .app-main > div{
    margin:10px 0px !important;
  }
  .el-card {
    padding:0 !important;
  }
  .el-dialog {

    width:90% !important;
  }
}

// 文字颜色
.text-color-primary {
  color: $menuActiveText;
}
.text-color-danger {
  color: $colorDanger;
}
.text-color-success {
  color: $colorSuccess;
}
.text-color-warning {
  color: $colorWarning;
}
